package com.yaorange.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Data
@Table(name = "user")
public class User {
    @Id
    private Integer id;

    @Column(name = "login_name")
    private String loginName;

    private String password;

    @Column(name = "user_name")
    private String userName;

    private Integer role;


}
